package com.kaili.basic.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * Created by rzh on 18-12-17.
 */

public class BaseEmployeeAddOrUpdateDto {
    @ApiModelProperty("员工id")
    private Integer id;
    @NotEmpty(message = "员工编号不能为空")
    @ApiModelProperty("员工code")
    private String employeeCode;
    @NotEmpty(message = "用户名不能为空")
    @ApiModelProperty("用户名")
    private String employeeName;
    @ApiModelProperty("员工姓名")
    private String employeeRealName;
    @ApiModelProperty("邮箱")
    private String mail;
    @NotNull(message = "部门id不能为空")
    @ApiModelProperty("部门id")
    private Integer deptId;
    @NotNull(message = "角色Id不能为空")
    @ApiModelProperty("角色Id")
    private Integer rid;
    @NotNull(message = "用户类型不能为空")
    @ApiModelProperty("用户类型")
    private Integer employeeType;
    @ApiModelProperty("手机")
    private String phone;
    @ApiModelProperty("固定电话")
    private String landPhone;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("货主")
    private Integer shipper;
    @ApiModelProperty("仓库")
    private Integer depot;
    @ApiModelProperty("公司ID")
    private Integer companyId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEmployeeCode() {
        return employeeCode;
    }

    public void setEmployeeCode(String employeeCode) {
        this.employeeCode = employeeCode;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public String getEmployeeRealName() {
        return employeeRealName;
    }

    public void setEmployeeRealName(String employeeRealName) {
        this.employeeRealName = employeeRealName;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }

    public Integer getEmployeeType() {
        return employeeType;
    }

    public void setEmployeeType(Integer employeeType) {
        this.employeeType = employeeType;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLandPhone() {
        return landPhone;
    }

    public void setLandPhone(String landPhone) {
        this.landPhone = landPhone;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getShipper() {
        return shipper;
    }

    public void setShipper(Integer shipper) {
        this.shipper = shipper;
    }

    public Integer getDepot() {
        return depot;
    }

    public void setDepot(Integer depot) {
        this.depot = depot;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }
}
